import request from "../utils/request";

//条件查询
export const queryWarehousingEntry = (page,pageSize,batchNumber) => {return request.get(`/warehousingentry?page=${page}&pageSize=${pageSize}&batchNumber=${batchNumber}`)};

//添加
export const addWarehousingEntry = (data) => {return request.post('/warehousingentry',data)};

//回显数据
export const queryWarehousingEntryById = (id) => {return request.get(`/warehousingentry/${id}`)};

//修改
export const updateWarehousingEntry = (data) => {return request.put('/warehousingentry',data)};

//删除
export const deleteWarehousingEntry = (id) => {return request.delete(`/warehousingentry/${id}`)};